package com.atom.common.activiti;

import javax.annotation.Resource;

import org.activiti.engine.HistoryService;
import org.activiti.engine.IdentityService;
import org.activiti.engine.RepositoryService;
import org.activiti.engine.RuntimeService;
import org.activiti.engine.TaskService;
import org.springframework.stereotype.Component;
@Component
public class ActivitiServiceUtil {
  
  @Resource
  private RuntimeService runtimeService;
  @Resource
  private RepositoryService repositoryService;
  @Resource
  private IdentityService identityService;
  @Resource
  private TaskService taskService;
  @Resource
  private HistoryService historyService;  
  
  public RuntimeService getRuntimeService() {
    return this.runtimeService;
  }
  
  public RepositoryService getRepositoryService() {
    return this.repositoryService;
  }
  
  public IdentityService getIdentityService() {
    return this.identityService;
  }
  
  public TaskService getTaskService() {
    return this.taskService;
  }
  
  public HistoryService getHistoryService() {
    return this.historyService;
  }

}
